<?php
namespace app\staticmodels;

use Fate;

class SystemConfig {
    public static function get() {
        return file_get_contents(Fate::getPathAlias('@app') . '/../core/configuration.ini');
    }

    public static function set($data) {
        $path = Fate::getPathAlias('@app') . '/../core/configuration.ini';

        file_put_contents($path, $data);
    }
}
